package cn.analysys;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * SpringBoot启动类
 */
@SpringBootApplication
//@EnableDiscoveryClient
//@MapperScan("cn.analysys.dao.ad")    //扫描dao包，不然需要在dao中每个类中添加注解@Mapper
public class DemoApplication {

	public static void main(String[] args) {
		SpringApplication.run(DemoApplication.class, args);
	}
}
